package starter;

import java.awt.*;
import java.awt.event.*;

public class MyFrame extends Frame {
	public MyFrame(String fname,int sizex, int sizey) {
		super(fname);
		setSize(sizex,sizey);
		setVisible(true);
		
		addWindowListener(new WindowAdapter() {
				public void windowClosing(WindowEvent e) {
					dispose();
					System.exit(0);
				}
		});
	}
	
	
}
